<link rel="stylesheet" media="screen" type="text/css" title="fiche_Css" href="_css/GestCli.css" />
<div id="main_title">
 	Visualisation des camions
</div>
<?php if (isset($res))
{ ?>
<table>
<tr>
<th>Matricule</th><th>Etat</th><th>Co2 Emis / Km</th><th>Kilometrage</th><th>Transporteur</th><th>Id Caractere</th>
</tr>
<?php 
	foreach($array as $res) { ?>
		<tr> 
		<td> <a class="link" href="<?php echo ABS_PATH.ROOT; ?>?page=Transporteur/PageMembre&matri=<?php echo $res['Matricule']; ?>"><?php echo $res['Matricule']; ?></a></td> 
			<td> <?php echo $res['Etat']; ?> </td>
			<td> <?php echo $res['EmissionCo2_par_KM']; ?> </td>
			<td> <?php echo $res['Kilometrage']; ?> </td>
			<td> <?php echo $res['GLN_Transporteur']; ?> </td>
			<td> <?php echo $res['Id_caractere']; ?> </td>
		</tr>
		<?php } ?>
</table>
<? }
else { ?>
<br />
<center> Il n'y a pas de camions correspondant aux criteres demandes. </center>
<?php } ?>